import { createRouter, createWebHistory } from 'vue-router'
import { setupGuards } from './guards'
import routes from './routes.modules'

const router = createRouter({
  history: createWebHistory(),
  routes
})

setupGuards(router)
export default router
